package min.chapter.three;

import org.springframework.context.support.AbstractApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class LookupCommandAcquisition {
	public static void main(String[] args) {
		String[] configLocations = new String[] {"Lookup.xml"};
		AbstractApplicationContext context = new ClassPathXmlApplicationContext(configLocations);
		LookupProcessor processor = context.getBean("processor", LookupProcessor.class);
		processor.process("some");
	}
}




